package cn.wolfcode.luowowo.search.repository;

import cn.wolfcode.luowowo.search.domain.UserInfoEs;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IUserInfoEsRepository extends ElasticsearchRepository<UserInfoEs,Long> {


    /**
     * 通过目的地name查询所有的用户信息
     * @param destName
     * @return
     */
    List<UserInfoEs> findByDestName(String destName);
}
